var option = {
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow'
    }
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: [
    {
      type: 'category',
      data: ['6小时前', '5小时前', '4小时前', '3小时前', '2小时前', '1小时前'],
      axisTick: {
        alignWithLabel: true
      }
    }
  ],
  yAxis: {
    axisTick: {
      show: true
    },
    axisLine: { show: true, onZero: true },
  },
  series: [
    {
      name: '雨量(mm)',
      type: 'bar',
      barWidth: '60%',
      data: [10, 12, 18,15,8, 4]
    }
  ]
};
export default option